diff --git a/resources/templates/provision/grandstream/ht802/{$mac}.xml b/resources/templates/provision/grandstream/ht802/{$mac}.xml
index de2f756d39..cc6672c368 100644
--- a/resources/templates/provision/grandstream/ht802/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht802/{$mac}.xml
@@ -1294,7 +1294,7 @@
{if isset($grandstream_loop_current_disconnect)}
- 1
+ {$grandstream_loop_current_disconnect}
{else}
0
{/if}