diff --git a/resources/templates/provision/grandstream/ht802/{$mac}.xml b/resources/templates/provision/grandstream/ht802/{$mac}.xml
index 3b8bc2ef00..746663ac06 100644
--- a/resources/templates/provision/grandstream/ht802/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht802/{$mac}.xml
@@ -1290,7 +1290,7 @@
{if isset($grandstream_loop_current_disconnect)}
- 1
+ {$grandstream_loop_current_disconnect}
{else}
0
{/if}