Fixed io bug.