diff --git a/resources/templates/provision/grandstream/ht818/{$mac}.xml b/resources/templates/provision/grandstream/ht818/{$mac}.xml
index 408c539fd5..2d602692c8 100644
--- a/resources/templates/provision/grandstream/ht818/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht818/{$mac}.xml
@@ -597,7 +597,7 @@
- {$account.1.register_expires}
+ {math equation="x / y" x=$account.1.register_expires y=40}