change perpage to 10