fix syntax error in routes