fix chi2

in rare cases CCC can fire during fitting returning zero as chi2.
this PR fixes it.