first render of the query