rearrange nodes a little