fix make_plots