fix silly issues on windows