Fixed erroneous variable reference.