temp for remove duplicate list ii