minor fix to d3plotter