Fixed PDF export