Fix SetBit bug