Correct an undefined variable