I have been creating a company tree structure, where my functions run with an output result. But on the console, I found bugs regarding parent Element as null, which some ti