Correcting Heroku error