test
retest
fix crash when remove last TP from condition