pagination and location at query list