The PR https://github.com/xom9ikk/split/pull/2 fixes these issues
The PR #2 fixes these issues