bug fix

wrong variable name.