fixed bug in 'death' class