hide elements with empty name (in legend )