Fixed Tet output issue