fix metastructure