Fix detection.