remove trailing slash from url