remove dirty local sets