fixes email validation