fixed bug in WorkerTool