Fixing some issues in PDF file