relocated the QC flags