rearrange routes