fix: print result of query commands