fix tdc