fix for email validation