rewrite tag-list generater