added header handling in export to .docx