fix pdf paths