fixes issue with hash set