fix sending email for reset password