another attempt to get it right on windows