resend email bug fix