Variable name typo and a mis-edit corrected from last commit