fixed emp on death bug