Avoid duplicate id