Fixed reference to non-existing variable.