removes the slashes for the urls