using sets to remove duplicate in listfield