few fixes to dotplot