Fix readLayout top section.