rebuild the root layout