diff --git a/openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c b/openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
index f2c15cbf2cd3015046918d1d1a0a9f6906d0965d..43367a71c0b3fe3839306179bf5177d5932b4d9b 100644
--- a/openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
+++ b/openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
@@ -2152,10 +2152,10 @@ void dlsch_channel_compensation_TM3(LTE_DL_FRAME_PARMS *frame_parms,
         rxdataF_comp1_128+=2;
       }
 
-      Nre = (pilots==0) ? 12 : 8;
+    } // rb loop
 
+    Nre = (pilots==0) ? 12 : 8;
 
-    } // rb loop
     precoded_signal_strength0 += ((signal_energy_nodc(&dl_ch_estimates_ext[aarx][symbol*frame_parms->N_RB_DL*Nre],
 						      (nb_rb*Nre))*rx_power_correction) - (phy_measurements->n0_power[aarx]));