Fixed GetThreshold