Fix problems in plot4.R corrections