logic error in FitErrorString()