fixed silly errors in dataSplitter