fix heroku issues