fix a line lost for ioexception