fix for some wm's