diff --git a/stmts.py b/stmts.py
index 44b5c41b0bef599d0fc8306999499e893c3ad8ec_c3RtdHMucHk=..4850d42d4392f5f63c4a60f0cd4a436def95dda6_c3RtdHMucHk= 100644
--- a/stmts.py
+++ b/stmts.py
@@ -337,6 +337,7 @@
     """the select node is the base statement of the syntax tree for selection
     statement, always child of a UNION root.
     """
+    vargraph = None
     parent = None
     distinct = False
     # limit / offset
@@ -442,6 +443,7 @@
         new.distinct = self.distinct
         new.limit = self.limit
         new.offset = self.offset
+        new.vargraph = self.vargraph
         return new
     
     # select specific methods #################################################