sankey and treemap now use a callback to fix issue with error msg flexibility