fix qc stats processesing