validation of confirmation