fixing heroku errors