Small improvement in io