quick patch for all this IOResult nonsense