Pdf bug patch