Fixes incorrect path (double slashes)