Correct undeclared variable