Fixed bad reference to non-existant variable.