Fix legend.