adjustments to support pdfing