Ad-hoc fix for pdf headers