Fixed detect.