ignore duplicates in history