Fix for xio functionality.