Redirect IO fixed