parser fixes
query thread
worker thread