catch parser exception