tr deletion fix