minor changes in io