death on button bug fix