fix query summary display