split up the query pages