corrections to plot2, plot4