test tgid
index simplify