fix io issues with referencechip