PDF attachments are not working