before threaded query form tableview