set max_per_page to 50