adjust datatable length