Fix variable typos in splitter