fix some errors when reduces merges two vectors instead of vector + word