fixed worker bug