fix io read