fix hash table sizing bug