fix on windows & mac