fix for deployment to heroku