Fixed the routing error for Heroku