change true.keysWithPrefix to trie.keysWithPrefix