fixed error on windows