Fixing the creation of the worker.