Fix a error for reset password.