fixes typo from previous commit
corrects another mispelled variable