diff --git a/nodes/core/logic/10-switch.html b/nodes/core/logic/10-switch.html
index bc59f7c94..e717de868 100644
--- a/nodes/core/logic/10-switch.html
+++ b/nodes/core/logic/10-switch.html
@@ -60,7 +60,7 @@
outputs: 1,
icon: "switch.png",
label: function() {
- return this.name;
+ return this.name||"switch";
},
oneditprepare: function() {