getDensity fix for notBoxPlot