diff --git a/resources/templates/provision/grandstream/ht702/{$mac}.xml b/resources/templates/provision/grandstream/ht702/{$mac}.xml
index 41bc5db757..8589ea4b32 100644
--- a/resources/templates/provision/grandstream/ht702/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht702/{$mac}.xml
@@ -764,9 +764,11 @@
-{if $grandstream_disable_fax_t38 == '1'}1
- {else}0
- {/if}
+{if isset($grandstream_fax_mode)}
+1
+{else}
+0
+{/if}