remove case-insensitive duplicates
remove case-insensitive duplicates