fix bug: randomAccessFile