query: remove old debug output