back to pdf, later we should succesfully add the correct mimetype