fix io ReferenceError