Fix trailing slash on URL