<tet> several bug fix

bug fix