diff --git a/code/calibration/report_year.pro b/code/calibration/report_year.pro
index 6238a20e892c85bafeb1423e4b590a9ad6ce1795..1dfc6119085ff308ffba3b32adffbcb6ce267ea1 100644
--- a/code/calibration/report_year.pro
+++ b/code/calibration/report_year.pro
@@ -27,7 +27,12 @@ endif
 
 ; reading camera parameters structure from last analyzed month
 par = get_par(config, camera, ff[-1], /return0)
-if par.file eq '' then return
+if par.file eq '' then begin
+  
+  cd, old_dir
+  return
+
+endif
 
 ; checking for keyword input
 if isa(report_calib) then par.config.calibration.report_calib = report_calib