Fix a crash with TC.