bug fix in variable name