fix metadata for imported content