fix additional arguments passed through plot.R