bug fix

change to correct variable name