remove reduplication