fix compareGroupsPlot()