UCDetector cleanup