Fix error with undeclared variable

Looks like a simple missprint for me