modified validating email