fix segfaut on iterator_remove
fix chunkedlist iterator