onempty for MetadataService