fix incorrect root on windows