Fixed ID merging