Fix to plot4