Fix pages layout.