fixed email validations on empty string