Fixing the detector edition.