fix ad, tfile tr.