* changed: fix around NPE in writeBitSet