might have fixed substr error in tir_finding section