Resolving Heroku problem