add override for pypdf