clean up pagination, entities datatable