Word automation - Save to PDF failed while bot running in unattended

While converting a word document to PDF in word automation scope using ‘Export To Pdf’ activity, the pdf document created is slightly off the normal look.
When I run the project from the studio there is no issue, if I run the project in unattended bot it generates incorrect format pdf.