fixed bug in trie display