Correct typo

I made a mistake with my previous pull request and misspelt the local variable...