rescue on parse error for heroku