Fix formatting of routes