Fixed io exception.