tweaked the pagination a bit