fixed undead crash