fix duplicated names