diff --git a/resources/templates/provision/linksys/spa942/{$mac}.xml b/resources/templates/provision/linksys/spa942/{$mac}.xml
index ced9ec14c9..97813e0f49 100644
--- a/resources/templates/provision/linksys/spa942/{$mac}.xml
+++ b/resources/templates/provision/linksys/spa942/{$mac}.xml
@@ -277,18 +277,13 @@
Background Picture
{foreach $keys["line"] as $row}
-{if $row.device_key_type == "line"}
+{if $row.device_key_category == "line"}
{$row.device_key_line}
{$row.device_key_label}
{if $row.device_key_type == "shared"}shared{else}private{/if}
-{else}
-Enabled
-{$row.device_key_label}
-private
{$row.device_key_value}
-{/if}
{/foreach}