added flatten-tag
hash table