reformat routes