fix datatable loading with ajax