bugs with vars