foward porting check_ioc.py udpate