Remove 'settings.path' from line 107, so it doesn't get duplicated in the return URL.