cleaning up the routes file