fix stat worker bug