finish initial layout