bug fix & test for histogram labels.