My PDF export looks corrupt