fixed the error heroku caught