Fixed issue deploying to heroku