rebuild pdf