fix control flow bug in zombie controller