fixed a plot