delete obsolete directories