fix tftrue related crashes