Fixed bug -- wrong variable name.