fixing mappedPath in windows