cleaned up the code of Docx.pm again