fixed heroku exception