fix iterator prefetch related bugs
add more debug info && code trim