fix detectors