deleting obsolete directories