Remove trailing slash in url