fix variable typo

I'm guessing this line has never executed?  Otherwise a syntax error would have appeared at some point