correct a variable