fixed issues with dotplots