diff --git a/js/spniBehaviour.js b/js/spniBehaviour.js
index e425ed12684167b7c424c0f8e104e96f5531f366..956960831d03a0c80176dda3ebf5d2ffc4fc846c 100644
--- a/js/spniBehaviour.js
+++ b/js/spniBehaviour.js
@@ -540,7 +540,7 @@ function expandDialogue (dialogue, self, target, bindings) {
                 break;
             case 'background':
                 if (fn == undefined) {
-                    substitution = backgrounds[selectedBackground].name;
+                    substitution = selectedBackground;
                 } else if (fn in backgrounds[selectedBackground] && args === undefined) {
                     substitution = backgrounds[selectedBackground][fn];
                 }