diff --git a/openair2/NETWORK_DRIVER/UE_IP/constant.h b/openair2/NETWORK_DRIVER/UE_IP/constant.h
index 0746651d073f8a0b108be6c8f9bfdbfd42e5a76b..ccd992dd4ea63c7763cd56b61bace3be6961619b 100644
--- a/openair2/NETWORK_DRIVER/UE_IP/constant.h
+++ b/openair2/NETWORK_DRIVER/UE_IP/constant.h
@@ -52,7 +52,7 @@
 
 
 
-#define UE_IP_NB_INSTANCES_MAX       MAX_MOBILES_PER_ENB
+#define UE_IP_NB_INSTANCES_MAX       NUMBER_OF_UE_MAX /*MAX_MOBILES_PER_ENB*/
 
 
 #endif