fix history set