fixing the app for heroku, hopefully