remove double entries