More tc

I'm not very confident with commit bf64001 . But it could avoid infinite loop in some cases.

Maybe we should re-implement the loop feature in TC.