fix invalid email for reset password