Fix a bug when not explicitly defining a variable