fix error in ConfirmObserver