Fix variable typo in source code

I found a small variable typo in source code. I like the project so I think it is worth contributing to show appreciation.
Thanks!