Fixing error message in heroku