fixed infinite loop with staggered nested data