remove unused code from the pdfapp days