remove some bits