fixes to scatterplotsj