fix up children parent nodes