fix heroku deployment issues