remove obsolete directories