fix for issue #122 of OpenMEE