save duplicates in history