fix `each_slice` can't trigger