add io-wrapper input method
fix io-wrapper test code