fixed duplicated IDs