fix bug on result deletion (cancel and then accept one)