fix layouts on some pages