remove some warning on windows