Debugging heroku issue