some corrections for heroku