fixed bug in routes file