fix bug where parent node splits wrongly

should not have multiple text nodes