Remove unnecessary slash in url