solving Heroku bug