fixing a bug with heroku deploy.