fix problem for heroku