minor edit for heroku error handling