fixed issue when running on windows