fix email validation