fixes #3533 fixed fatal. api couldn't handle datatable arrays