fixed Bug in StructureMetadata