rearrange some text content