fix PlotHandler