remove some duplications