diff --git a/qface/idl/domain.py b/qface/idl/domain.py
index <HASH>..<HASH> 100644
--- a/qface/idl/domain.py
+++ b/qface/idl/domain.py
@@ -86,7 +86,10 @@ class Symbol(object):
     @property
     def qualified_name(self):
         '''return the fully qualified name (`module + "." + name`)'''
-        return '{0}.{1}'.format(self.module.name, self.name)
+        if self.module == self:
+            return self.module.name
+        else:
+            return '{0}.{1}'.format(self.module.name, self.name)
 
     def __unicode__(self):
         return self.name
Fixed the qualified name lookup to take into account the symbol could be the module itself