issues with the lazy loading in ioc