finish the right url, delete historicals