fixes for heroku deploy