Fix to PDF layout error

Fix to PDF layout error.