remove senseless and wrong direct access to ByteIOContext internals