clean names in legend