Fix rio and ioc