fixed a path bug on windows