fix te and tc