bug in worker fixed