fixed multiple key by useing hashset