cleanup structure_matcher