Fix an improper access to a global variable.