avoid error jump from gdat_plot