fixing plot2