Fixing heroku bug