#43 better conditioning for io lib