fixed history item key
data var fix