remove nested container that have contained only nested splitter