trying to solve crash on heroku