Fix incorrect variable reference.