legend: fix a typo