fixing var location