clean empty submenus