fix worker bug