some cleaning, toward a match -> trilegal sfh