Fixes in io sample.