cleanup of dySelections.cc