fix some bugs of Verify Code