implement ALL_PANES for remove functions