fix compile errors with $D02F gating of IO.