fixing sankey thing