fixed issue https://github.com/DevBoost/EMFTools/issues/5