Fix PDF download