rearrange headers