legend text fix