fix modes on windows