actually fixed path-related bugs on Windows