How to repair external render PDF