fix #4534
Merge pull request #378 from slarosa/ftools_split_vector

fix #4534