fix in history file