fixed bug with bad variable name.