fix bug in bitset iterators