I fixed a couple of errors with the new io