fixing for tests wm platform