fixing tc delete issue