fixed the invalidity of captcha.