Fixed usage of nonexistent variable.