fix worker_spec