Fix bug with datatables