fix losing effects on death