all this minor changes are required to get app to work on heroku production