fixed problem on windows