fix async file read issue