fixed zombie bug