fix early death bug