Bug fixing: temporal patch for the confidence=None error in regressions