fixed small issue with list and vector. The result from the apply fn is a list, not a vector, meaning that using the into over a list is not the same as doing it over a vector.