remove hamming