Fixed issue in worker