fix itemsPerPage on pagination