fix configuration for heroku