Fix error with worker