datatables only when needed