fix hash use