make tQuery singlethon to be thread local