bugfix in m2wmx.tp