fixing zombie generation