Finish layout and rootes