bug fix (variable name changed)