modify query view to in 1 page