fixed worker bug.