removing temporary Ref::IO from standard types