fix the initialize bug in Record.java