more fixes for heroku.