Fixed adding new history