Possible fix for Heroku error