diff --git a/matlab/+identification/run.m b/matlab/+identification/run.m
index 38bfe21eed924a7368ae228a2ec0d09574ca0598..04249f98ae5bc81f547800c3bb61267592927400 100644
--- a/matlab/+identification/run.m
+++ b/matlab/+identification/run.m
@@ -240,7 +240,7 @@ end
 
 % check for external draws, i.e. set pdraws0 for a gsa analysis
 if options_ident.gsa_sample_file
-    GSAFolder = checkpath('gsa',dname);
+    GSAFolder = CheckPath('gsa',dname);
     if options_ident.gsa_sample_file==1
         load([GSAFolder,filesep,fname,'_prior'],'lpmat','lpmat0','istable');
     elseif options_ident.gsa_sample_file==2