Fixing the error on heroku
edit the routes