corrected var name typo