fixed bug in trie lookup