fix duplicated enties