fixed bug with duplicate id