Fixed destroy of trie