rm duplicate ids