syntax error fix in routes