Half fixes history, gives each history a unique id.