code changes to fix heroku