some fixes 4 heroku