fixed bug where parentless companies were erroring