fix the email problem