adding historyitem fixed