Change
Revert "Fixed bug with IO"

This reverts commit 2507a5be08787c9c210c75e43914c43cd49d0559.