fix hash count