diff --git a/src/MNH/write_lfifm1_for_diag.f90 b/src/MNH/write_lfifm1_for_diag.f90
index c6997eafa62a41abab340bf9aa0c45379b72bcd6..0f3b963c864b585cd06ae51f9c62e514f064b68e 100644
--- a/src/MNH/write_lfifm1_for_diag.f90
+++ b/src/MNH/write_lfifm1_for_diag.f90
@@ -322,12 +322,6 @@ INTEGER           :: I
 !
 CALL GET_DIM_EXT_ll ('B',IIU,IJU)
 CALL GET_INDICE_ll (IIB,IJB,IIE,IJE)
-!!$IIB=1+JPHEXT
-!!$IJB=1+JPHEXT
-!!$IIU=NIMAX+2*JPHEXT
-!!$IJU=NJMAX+2*JPHEXT
-!!$IIE=IIU-JPHEXT
-!!$IJE=IJU-JPHEXT
 IKU=NKMAX+2*JPVEXT
 IKB=1+JPVEXT
 IKE=IKU-JPVEXT
@@ -435,6 +429,12 @@ IGRID=0
 ILENCH=LEN(YCOMMENT)
 CALL FMWRIT(HFMFILE,YRECFM,CLUOUT,'--',NKMAX,IGRID,ILENCH,YCOMMENT,IRESP)
 !
+YRECFM='JPHEXT'
+YCOMMENT=' '
+IGRID=0
+ILENCH=LEN(YCOMMENT)
+CALL FMWRIT(HFMFILE,YRECFM,CLUOUT,'--',JPHEXT,IGRID,ILENCH,YCOMMENT,IRESP)
+!
 !*       1.2    Grid variables :
 !
 IF (.NOT.LCARTESIAN) THEN