clean up branching in IO