Trying to fix heroku crashing issue