fixes for dotplot