diff --git a/validphys2/src/validphys/scripts/vp_setupfit.py b/validphys2/src/validphys/scripts/vp_setupfit.py
index e9aed8d6f2a139ac6f209c34a5c59099ad2013e1..706533479480d1a159a7b539aef07485c0f5868a 100644
--- a/validphys2/src/validphys/scripts/vp_setupfit.py
+++ b/validphys2/src/validphys/scripts/vp_setupfit.py
@@ -48,7 +48,8 @@ SETUPFIT_FIXED_CONFIG = dict(
 
 SETUPFIT_PROVIDERS = ['validphys.filters',
                       'validphys.theorycovariance.construction',
-                      'validphys.results',]
+                      'validphys.results',
+                      'validphys.covmats']
 
 SETUPFIT_DEFAULTS = dict(
     use_cuts= 'internal',
diff --git a/validphys2/src/validphys/theorycovariance/construction.py b/validphys2/src/validphys/theorycovariance/construction.py
index 47b1beabda46f71535508f1f3fc5c366da9e0fa2..d0a3acc75d8b7ee6487a2cafb9af73ecfcfeb8d5 100644
--- a/validphys2/src/validphys/theorycovariance/construction.py
+++ b/validphys2/src/validphys/theorycovariance/construction.py
@@ -19,7 +19,6 @@ from validphys.results import groups_central_values, groups_central_values_no_ta
 from validphys.results import Chi2Data, results
 from validphys.calcutils import calc_chi2, all_chi2_theory, central_chi2_theory
 from validphys.theorycovariance.theorycovarianceutils import process_lookup, check_correct_theory_combination
-from validphys.covmats import sqrt_covmat
 
 log = logging.getLogger(__name__)