sankey cleanup before merge