fixed list visit in spill function