fix for newer mw versions