temp fix to pdf timeout issue