fix some formatting errors in the page layout