Fix use of old variable.