fix bug in paginator - if count<PAGINATOR_PAGE, than it did [1, ..., 1,2,3]