fixed some tf issues