Fixed the deployment issue with heroku