file read fix