Fixed bad variable reference.