config: depend changed to ioc Resource