fix bugs in u8_iterator_