fixed hash for set