cleanup first/last page on paginator