query panel: better output