Fix trailing URL