fix test failed in windows