change HistoryManager behavior