Fixed support bug in detector.