fixes with 1000 lines querylog (581 zones)