Revert to old version of fit for debugging