Added handling of the case when the company is not initialized