remove pagination from array