Remove some redundant bits