fixing email validation rules