clean CollectionSpec