Fix the legend labels.