errors and confirmation