fix legend names