I solved it by creating the docx document again from scratch