Fix in HTML to PDF converter