Modify the bugs in worker thread