fix to flatten_list_of_iters