fix hash destroy