improve record reader
improve record reader