fixed PDF extraction issue in build-workbook