fix bug with worker disappearance