fix IO.open {}.close