fix MetadataProcessor