death bug fixed but not perfect