fix email validator generator issue