fixdat with global scope deduping