correcting var typo