fix split file reading bug