fix the IOC bug