fixed double-file read
fixed double-file read