fixed small error in scatter plot