fixes for heroku; I hope