Fixed new HashSet creation