Fixed ht_free()