fix tf query time