fix weird ioc problem