fix tf