patch for pdfkit