ensure Trie doesnt return deplicate dependencies