add query param for page
fix next and prev params