some fixes to deploy app at heroku easily