fix bug
diff --git a/xos/tosca/resources/xossite.py b/xos/tosca/resources/xossite.py
index 4265338..fe0e256 100644
--- a/xos/tosca/resources/xossite.py
+++ b/xos/tosca/resources/xossite.py
@@ -19,7 +19,7 @@
     def get_xos_args(self):
         display_name = self.get_property("display_name")
         if not display_name:
-            display_name = nodetemplate.name
+            display_name = self.nodetemplate.name
 
         args = {"login_base": self.nodetemplate.name,
                 "name": display_name}