flush cache code added

to force redo pdf to text conversion