filter duplicate id