Fix odt as PDF generation