corrected email validation issue