handle parse error
quality control