fixing scatterplot