[fx][bug] text formatter: fix restructuration