fix routes formatting.