Small bugs fixed in plot 4