Duplicated ID bug