Fix email check