improve pdf packages