fix hash for HashSet/HashMap, thanks @crawley #178