set child parent to null on clearChildren