fixing bugs on heroku