solve a problem of line_plot / drum_plot mode