add a function to fix duplicates in the open with menu