minor fixes to isoch fitting func