Improve IO part of standard library

typo: functin