fix double before block in worker_base_spec