changes to corpse detection