fix smartlegend line break issue