<tet> fix error

fixed some pos array index error