fix hash table size bug