changed default value of GateDetector