Fix problem with catching exception in tad_parser