fixed issues with lazy loading of components (after the resources are
loaded..)