Bug fixed.

I/O bug is fixed.