diff --git a/geant/gap_ansible/roles/bgp_config/templates/juniper/deactivate/bgp.j2 b/geant/gap_ansible/roles/bgp_config/templates/juniper/deactivate/bgp.j2
index f61569cadd11582003750a383e68fa35ec95d622..b0e88b28e90b9e0996808fce435feade4fc7fe36 100644
--- a/geant/gap_ansible/roles/bgp_config/templates/juniper/deactivate/bgp.j2
+++ b/geant/gap_ansible/roles/bgp_config/templates/juniper/deactivate/bgp.j2
@@ -7,9 +7,9 @@
     {% endif %}
   {% elif subscription.l3_core_service_type in l3_service_types.vprn %}
     {% if neighbor.ip_type == 'ipv4' %}
-      deactivate routing-instances {{ subscription.l3_core_service_type }} protocols bgp group {{ bgp.group.ipv4_juniper }} neighbor {{ neighbor.peer_address }}
+      deactivate routing-instances {{ bgp.routing_instance_juniper }} protocols bgp group {{ bgp.group.ipv4_juniper }} neighbor {{ neighbor.peer_address }}
     {% elif neighbor.ip_type == 'ipv6' %}
-      deactivate routing-instances {{ subscription.l3_core_service_type }} protocols bgp group {{ bgp.group.ipv6_juniper }} neighbor {{ neighbor.peer_address }}
+      deactivate routing-instances {{ bgp.routing_instance_juniper }} protocols bgp group {{ bgp.group.ipv6_juniper }} neighbor {{ neighbor.peer_address }}
     {% endif %}
   {% endif %}
 {% endfor %}