fixed incorect variable name