bug fixes in _split