fixing email error