patch for 1000 queries (qlog-1000)