trying to fix app crashing when starts in heroku