rm duplicate c