trying to fix datatable error