Fixed bug when trying to inject properties when factory is not loaded yet