fix duplicated id