fixing email validation