removed history duplicates