Remove unused variable.
Fixed bug -- use of undefined variable.