fixed result to keep queryId