fix docx image corruption