Correct missing use of variable