word documents created with quarto won't open automatically

Hi,
word documents with quarto don't open automatically after rendering. When I open the document manually, it gives an error saying that Word found illegible content. However, it gives the option of opening the document in spite of this problem. After opening, the document seems fine, but when trying to save it, it asks for a new name and in a directory different to the pwd.
I am using flextable, zotero citations and cross references in the document.
Thanks
PD: the problem arises with the last version of flextable (0.9.7), which allows cross-referencing.