fixed corpses being generated when not needed &c