Added checks for splitter nil to node.write