j index
warning canceled
window trie count is zero in clear function