display current query