ui changes for PDF rendering