fix the HashTable class