fix error in assigning _{n} history var when result is a Symbol or Expr