fix confirmation with errors