changed the legend labels position