fix tryIOError