Fixed accept_death problem forgot to unset the pending target