fixed the plot graphics