fixed syntax errors
fixed up routes