set default values to page and per_page