Fixed bug -- bad variable reference.