fixed HashTable constructor