Fixed the legend.