Not excluding pdf contents despite it generating a warning

Otherwise it break pdf generation