Fixing the 500 heroku error