fix pdf memory issue