made split more defined with native objects

will not have empty elements in array