Fix app for heroku