fixes syntax in routes