fix the verify mode bug