fix worker_cleanup