fix the bug when verify failed.