fixing documents datatables