diff --git a/src/LIB/SURCOUCHE/src/mode_io_tools_nc4.f90 b/src/LIB/SURCOUCHE/src/mode_io_tools_nc4.f90
index 86b841fc82c326a6dd68e0899903aabf544c06af..0efd6aaa2497478bf4246e9315b5b9885d813185 100644
--- a/src/LIB/SURCOUCHE/src/mode_io_tools_nc4.f90
+++ b/src/LIB/SURCOUCHE/src/mode_io_tools_nc4.f90
@@ -283,7 +283,7 @@ use modd_radiations_n,  only: nlwb_mnh, nswb_mnh
 use modd_series,        only: lseries
 use modd_series_n,      only: nsnbstept
 use modd_station_n,     only: lstation, tstations_time
-use modd_sto_file,      only: ntrajstlg
+use modd_lagr_traj,     only: ntrajstlg
 
 TYPE(TFILEDATA),INTENT(INOUT)        :: TPFILE
 CHARACTER(LEN=*),OPTIONAL,INTENT(IN) :: HPROGRAM_ORIG !To emulate a file coming from this program
diff --git a/src/LIB/SURCOUCHE/src/mode_io_write_nc4.f90 b/src/LIB/SURCOUCHE/src/mode_io_write_nc4.f90
index 7a35c92bfc45158e3fa22880a2a18cee8858a960..3e3ed1ea4797f897eee46f0e59b4b8c891d6d4e0 100644
--- a/src/LIB/SURCOUCHE/src/mode_io_write_nc4.f90
+++ b/src/LIB/SURCOUCHE/src/mode_io_write_nc4.f90
@@ -1470,7 +1470,7 @@ use modd_profiler_n, only: lprofiler, tprofilers_time
 use modd_series,     only: lseries
 use modd_series_n,   only: nsnbstept, tpsdates
 use modd_station_n,  only: lstation, tstations_time
-use modd_sto_file,   only: ntrajstlg, tlagr_dates
+use modd_lagr_traj,  only: ntrajstlg, tlagr_dates
 use modd_time,       only: tdtseg
 use modd_time_n,     only: tdtcur
 use modd_type_date,  only: date_time