fixed metadatahelper