email validation and fix typo