working on pdf cache issue still