fix error case datatable