queries count fixed