fixed a couple errors in docxeditor (#16)