remove ScopeSet data structures