IO.c errors fixed