minor fixes for heroku