validation for an empty