rearrange config