io.inc bugs fixed