removed a condition that rendered trie_cleanup() a noop