Figuring out heroku bug