fixed email validation error