Fixed whitespace bug that was inserted in front of words in trie