fixed the confirm actions