Fix typo in variable naming

I've spotted a simple typo. The attached pull request will fix it.