Fix printBits and printBit.