fix open duplicates