allow modify max_per_page