fixed a var name typo