fixed HashMapImpl modulus bug