fixes to metadata column for multidocs