fix for pdf-print