Fix broken TR code.