fixes heroku rejected error issue