[P3]Fixed the legend.