fix for run_qatests