change docx to rtf for better compatibility