fixes scatter plot errors