Fixed I/O issue.