Correct a variable