make it working on windows