Remove duplicated id.