fix unnecessary work qstat