fix metadata from collection