fix issues on windows, path slashing