replace removed bits