fix hash issues