Fixed failure on windows