restore HTTP service; little tweak on query processor