fix error with routes/syntax