Remove trailing slash from url