was tracking the wrong var