fix double slashes in URLs