simplify appy. Use renderPdf method with options instead of two distinc ones.