fixed death bug