try to fix an assert on windows