Fixing Heroku error