fix hash search