check number of elements after split. fixed #1