diff --git a/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml b/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml
index 0e2378eb18..5a73ec4f34 100644
--- a/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml
@@ -800,7 +800,7 @@
{$grandstream_dtmf_method_1}
{else}
100
-{endif}
+{/if}
@@ -809,7 +809,7 @@
{$grandstream_dtmf_method_2}
{else}
101
-{endif}
+{/if}
@@ -818,7 +818,7 @@
{$grandstream_dtmf_method_3}
{else}
102
-{endif}
+{/if}