fixed heroku errors