set perpage to 20