change apply to digest for pdf page rendering