changed max per page